﻿#ifndef SETTINGWIDGET_H
#define SETTINGWIDGET_H

#include <QWidget>
#include <QDebug>
#include "explore.h"

namespace Ui {
class SettingWidget;
}

class Explore;

class SettingWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SettingWidget(QWidget *parent = nullptr);
    ~SettingWidget();
    void paintEvent(QPaintEvent *event) override;

    void updateUi();
private slots:
    void on_pushButton_clicked();

    void on_enableOptimizeSetting_stateChanged(int arg1);

    void on_cacheDeleteSetting_clicked();

    void on_historyDeleteSetting_clicked();

    void on_defaultUrlSetting_textChanged(const QString &arg1);

    void on_bookMarkDeleteSetting_clicked();

signals:
    void chcaeDeleteFinidhed();

private:
    Ui::SettingWidget *ui;
};

#endif // SETTINGWIDGET_H
